<html>
<head><title>Login Page</title></head>
<body onload='document.f.username.focus();'>
<h3 th:text="${text}"></h3>
<form name='f' action="/login" method='POST'>
  <table>
    <tr>
      <td>User:</td>
      <td><input type='text' name='username' value=''></td>
    </tr>
    <tr>
      <td>Password:</td>
      <td><input type='password' name='password'/></td>
    </tr>
    <tr>
      <td colspan='2'><input name="submit" type="submit" value="Login"/></td>
    </tr>
    <input type="hidden"
           th:name="${_csrf.parameterName}"
           th:value="${_csrf.token}"/>
  </table>
</form>
</body>
</html>
